//
//  Director.h
//  HappyPenguin
//
//  Created by zhuangyihang on 12/30/15.
//  Copyright © 2015 zhuangyihang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserObject.h"

@interface Director : NSObject

+ (id)sharedInstance;

/**
 *  App全局初始化
 */
- (void)setupApp;

/**
 *  Tab根视图
 *
 *  @return
 */
- (UIViewController *)getTabViewController;


/**
 *  获取当前登录用户实例
 *
 *  @return
 */
- (UserObject *)getLoginUser;
- (void)setLoginUser:(UserObject *)user save:(BOOL)save;
@end
